package cn.tj.wenda.cloud.other.entity;

import javax.persistence.*;

public class Books {
    @Id
    private String bookid;

    /**
     * 书名
     */
    private String bookname;

    /**
     * 出版商
     */
    private String publishunit;

    /**
     * 出版时间
     */
    private String publishtime;

    private String adduserid;

    private String adduser;

    private String addtime;

    private String upduserid;

    private String upduser;

    private String updtime;

    private String tenantid;

    /**
     * @return bookid
     */
    public String getBookid() {
        return bookid;
    }

    /**
     * @param bookid
     */
    public void setBookid(String bookid) {
        this.bookid = bookid == null ? null : bookid.trim();
    }

    /**
     * 获取书名
     *
     * @return bookname - 书名
     */
    public String getBookname() {
        return bookname;
    }

    /**
     * 设置书名
     *
     * @param bookname 书名
     */
    public void setBookname(String bookname) {
        this.bookname = bookname == null ? null : bookname.trim();
    }

    /**
     * 获取出版商
     *
     * @return publishunit - 出版商
     */
    public String getPublishunit() {
        return publishunit;
    }

    /**
     * 设置出版商
     *
     * @param publishunit 出版商
     */
    public void setPublishunit(String publishunit) {
        this.publishunit = publishunit == null ? null : publishunit.trim();
    }

    /**
     * 获取出版时间
     *
     * @return publishtime - 出版时间
     */
    public String getPublishtime() {
        return publishtime;
    }

    /**
     * 设置出版时间
     *
     * @param publishtime 出版时间
     */
    public void setPublishtime(String publishtime) {
        this.publishtime = publishtime == null ? null : publishtime.trim();
    }

    /**
     * @return adduserid
     */
    public String getAdduserid() {
        return adduserid;
    }

    /**
     * @param adduserid
     */
    public void setAdduserid(String adduserid) {
        this.adduserid = adduserid == null ? null : adduserid.trim();
    }

    /**
     * @return adduser
     */
    public String getAdduser() {
        return adduser;
    }

    /**
     * @param adduser
     */
    public void setAdduser(String adduser) {
        this.adduser = adduser == null ? null : adduser.trim();
    }

    /**
     * @return addtime
     */
    public String getAddtime() {
        return addtime;
    }

    /**
     * @param addtime
     */
    public void setAddtime(String addtime) {
        this.addtime = addtime == null ? null : addtime.trim();
    }

    /**
     * @return upduserid
     */
    public String getUpduserid() {
        return upduserid;
    }

    /**
     * @param upduserid
     */
    public void setUpduserid(String upduserid) {
        this.upduserid = upduserid == null ? null : upduserid.trim();
    }

    /**
     * @return upduser
     */
    public String getUpduser() {
        return upduser;
    }

    /**
     * @param upduser
     */
    public void setUpduser(String upduser) {
        this.upduser = upduser == null ? null : upduser.trim();
    }

    /**
     * @return updtime
     */
    public String getUpdtime() {
        return updtime;
    }

    /**
     * @param updtime
     */
    public void setUpdtime(String updtime) {
        this.updtime = updtime == null ? null : updtime.trim();
    }

    /**
     * @return tenantid
     */
    public String getTenantid() {
        return tenantid;
    }

    /**
     * @param tenantid
     */
    public void setTenantid(String tenantid) {
        this.tenantid = tenantid == null ? null : tenantid.trim();
    }
}